<?xml version="1.0" encoding="UTF-8"?>
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<REPORT>
  <template file="CopyFromSettlement_F1.html"/>
  <PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
  <PARAMETER id="paramLanguage" name="language" default=""/>
  <PARAMETER id="paramKey" name="key" default="" attribute="value"/>
  <PARAMETER id="window" name="window" default="" attribute="value"/>
  <PARAMETER id="tab" name="tab" default="" attribute="value"/>
  <PARAMETER id="paramDirection" name="direction" default=""/>
	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
  <PARAMETER id="paramDateFrom" name="dateFrom" attribute="value" default=""/>  
  <PARAMETER id="paramDateFrom" name="dateFromdisplayFormat" attribute="displayformat" replace="xx"/>
  <PARAMETER id="paramDateFrom" name="dateFromsaveFormat" attribute="saveformat" replace="yy"/>
  <PARAMETER id="paramDateTo" name="dateTo" attribute="value" default=""/>  
  <PARAMETER id="paramDateTo" name="dateTodisplayFormat" attribute="displayformat" replace="xx"/>
  <PARAMETER id="paramDateTo" name="dateTosaveFormat" attribute="saveformat" replace="yy"/>
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
  <PARAMETER id="paramSettlement" name="paramSettlement" attribute="value" default=""/>
  <PARAMETER id="paramSettlementFromId" name="paramSettlementFromId" attribute="value" default=""/>
  <PARAMETER id="paramSettlementId" name="paramSettlementId" attribute="value" default=""/>
  <structure name="structure">
    <FIELD id="fieldDate">datetrx</FIELD>
    <FIELD id="fieldDescription">description</FIELD>
    <FIELD id="fieldDocumentNo">documentno</FIELD>
    <FIELD id="fieldcSettlementFromId" attribute="value" replace="xx">cSettlementId</FIELD>
    <FIELD id="fieldcSettlementFromId" attribute="onclick" replace="xx">cSettlementId</FIELD>
    <FIELD id="fieldcSettlementFromId" boolean="checked" withId="paramSettlementFromId">cSettlementId</FIELD>
    <SECTION id="sectionDetail"/>
  </structure>  
  <structure name="structure2">
    <FIELD id="fieldBpartnerId" attribute="name" replace="xx">cDebtPaymentId</FIELD>
    <FIELD id="fieldBpartnerId" attribute="value">cBpartnerId</FIELD>
    <FIELD id="fieldRefButtonBPartner" attribute="onclick" replace="xx">cDebtPaymentId</FIELD>
    <FIELD id="fieldRefButtonBPartner" attribute="onclick" replace="yy">cDebtPaymentId</FIELD>
    <FIELD id="fieldRefButtonBPartner" attribute="onclick" replace="zz">cDebtPaymentId</FIELD>
    <FIELD id="fieldBpartnerdescription" attribute="name" replace="xx">cDebtPaymentId</FIELD>
    <FIELD id="fieldBpartnerdescription" attribute="value">tercero</FIELD>
    <FIELD id="paramfieldDate" attribute="name" replace="xx">cDebtPaymentId</FIELD>
    <FIELD id="paramfieldDate" attribute="value">dateplanned</FIELD>
    <FIELD id="paramfieldDate" attribute="displayformat">dateformat</FIELD>
    <FIELD id="paramfieldDate" attribute="saveformat">dateformat</FIELD>
    <FIELD id="fieldRefButtonDate" attribute="onclick" replace="xx">cDebtPaymentId</FIELD>
    <FIELD id="fieldRefButtonDate" attribute="onclick" replace="yy">cDebtPaymentId</FIELD>
    <FIELD id="fieldDebe" attribute="name" replace="xx">cDebtPaymentBalancingId</FIELD>
    <FIELD id="fieldDebe" attribute="value">amountdebit</FIELD>
    <FIELD id="fieldHaber" attribute="name" replace="xx">cDebtPaymentBalancingId</FIELD>
    <FIELD id="fieldHaber" attribute="value">amountcredit</FIELD>
    <FIELD id="fieldAmount" attribute="name" replace="xx">cDebtPaymentId</FIELD>
    <FIELD id="fieldAmount" attribute="value">amount</FIELD>
    <FIELD id="fieldEfecto">efecto</FIELD>
    <FIELD id="fieldConcepto">concepto</FIELD>
    <SECTION id="sectionDetail2" field="cDebtPaymentId"/>
    <SECTION id="sectionConcepto" field="cDebtPaymentBalancingId"/>
  </structure>
  <DISCARD id="discard"/>
</REPORT>
